
class LoginUserInfo {
  String? usercode;
  String? nickname;
  int? type;
  String? mobile;
  String? avatar;
  int? gender;
  int? age;
  String? birthday;
  String? city;
  int? finishStatus;
  int? createtime;
  String? imToken;
  int? isAnchor;
  int? openVideoStatus;
  int? canWithdraw;
  int? userId;
  String? token;
  int? expiretime;
  int? expiresIn;

  LoginUserInfo(
      {this.usercode,
        this.nickname,
        this.type,
        this.mobile,
        this.avatar,
        this.gender,
        this.age,
        this.birthday,
        this.city,
        this.finishStatus,
        this.createtime,
        this.imToken,
        this.isAnchor,
        this.openVideoStatus,
        this.canWithdraw,
        this.userId,
        this.token,
        this.expiretime,
        this.expiresIn});

  LoginUserInfo.fromJson(Map<String, dynamic> json) {
    usercode = json['usercode'];
    nickname = json['nickname'];
    type = json['type'];
    mobile = json['mobile'];
    avatar = json['avatar'];
    gender = json['gender'];
    age = json['age'];
    birthday = json['birthday'];
    city = json['city'];
    finishStatus = json['finish_status'];
    createtime = json['createtime'];
    imToken = json['im_token'];
    isAnchor = json['is_anchor'];
    openVideoStatus = json['open_video_status'];
    canWithdraw = json['can_withdraw'];
    userId = json['user_id'];
    token = json['token'];
    expiretime = json['expiretime'];
    expiresIn = json['expires_in'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['usercode'] = usercode;
    data['nickname'] = nickname;
    data['type'] = type;
    data['mobile'] = mobile;
    data['avatar'] = avatar;
    data['gender'] = gender;
    data['age'] = age;
    data['birthday'] = birthday;
    data['city'] = city;
    data['finish_status'] = finishStatus;
    data['createtime'] = createtime;
    data['im_token'] = imToken;
    data['is_anchor'] = isAnchor;
    data['open_video_status'] = openVideoStatus;
    data['can_withdraw'] = canWithdraw;
    data['user_id'] = userId;
    data['token'] = token;
    data['expiretime'] = expiretime;
    data['expires_in'] = expiresIn;
    return data;
  }
}
